﻿using System;
namespace IceDog.Lib.Event.BoildWater
{
    /// <summary>
    /// 热水事件参数
    /// </summary>
    public class BoiledEventArgs : EventArgs
    {
        private readonly int _temperature;
        /// <summary>
        /// 当前温度
        /// </summary>
        public int Temperature
        {
            get { return _temperature; }
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="temperature">温度值</param>
        public BoiledEventArgs(int temperature)
        {
            _temperature = temperature;
        }
    }
}
